﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Principal.Master" AutoEventWireup="true" CodeBehind="Registro.aspx.cs" Inherits="SistemaInformativoTuristico.Formulario_web2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <table style="width: 109%; height: 218px;">
    <tr>
        <td style="height: 20px; width: 137px">ID DE HOSPEDAJE:</td>
        <td style="height: 20px; width: 187px;">
            <asp:Label ID="lbl_ID" runat="server" Text="Label"></asp:Label>
        </td>
        <td rowspan="7">
            <asp:Image ID="ImgFoto" runat="server" Height="209px" Width="267px" />
        </td>
    </tr>
    <tr>
        <td style="height: 14px; width: 137px">TIPO DE HOSPEDAJE:</td>
        <td style="height: 14px; width: 187px;">
            <asp:DropDownList ID="List_Tipo" runat="server" Height="16px" Width="228px">
                <asp:ListItem>SELECCIONE TIPO</asp:ListItem>
                <asp:ListItem>CABAÑAS</asp:ListItem>
                <asp:ListItem>CASA DE HUÉSPEDES</asp:ListItem>
                <asp:ListItem>DEPARTAMENTOS</asp:ListItem>
                <asp:ListItem>HOSTALES</asp:ListItem>
                <asp:ListItem>HOTELES</asp:ListItem>
                <asp:ListItem>MOTELES</asp:ListItem>
                <asp:ListItem>RESIDENCIAS</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="height: 35px; width: 137px">CANTÓN AL QUE PERTENECE:</td>
        <td style="height: 35px; width: 187px;">
            <asp:DropDownList ID="List_Canton" runat="server" AutoPostBack="True" DataSourceID="HospedajesDS" DataTextField="nombre" DataValueField="id_canton" Height="16px" Width="231px">
            </asp:DropDownList>
            <asp:SqlDataSource ID="HospedajesDS" runat="server" ConnectionString="<%$ ConnectionStrings:SistematurismoConnectionString %>" SelectCommand="SELECT * FROM [canton]"></asp:SqlDataSource>
        </td>
    </tr>
    <tr>
        <td style="height: 16px; width: 137px">DIRECCIÓN:</td>
        <td style="height: 16px; width: 187px;">
            <asp:TextBox ID="txtDireccion" runat="server" Width="225px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="height: 16px; width: 137px">INFORMACIÓN RELEVANTE:</td>
        <td style="height: 16px; width: 187px;">
            <asp:TextBox ID="txtInfo" runat="server" Width="226px" Height="23px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="height: 16px; width: 137px">TELÉFONOS:</td>
        <td style="height: 16px; width: 187px;">
            <asp:TextBox ID="txtTelefono" runat="server" Width="228px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="width: 137px; height: 8px">FOTO</td>
        <td style="height: 8px; width: 187px;">
            <asp:FileUpload ID="FileUpload1" runat="server" />
            <asp:Label ID="lblFoto" runat="server" Text="Label"></asp:Label>
        </td>
    </tr>
    <tr>
        <td style="height: 36px; " colspan="3">
            <asp:Button ID="btnNuevo" runat="server" Height="34px" Text="Nuevo" Width="94px" OnClick="btnNuevo_Click1" />
            <asp:Button ID="btnGuardar" runat="server" Height="35px" Text="Guardar" Width="79px" />
            <asp:Button ID="btnEliminar" runat="server" Height="36px" Text="Eliminar" Width="82px" />
        </td>
    </tr>
    <tr>
        <td style="height: 36px; " colspan="3">
            <asp:Label ID="Label2" runat="server" Text="Buscar por Nombre:"></asp:Label>
            <asp:TextBox ID="txtBuscarNombre" runat="server" Width="149px"></asp:TextBox>
            <asp:Button ID="btnBuscar" runat="server" Height="21px" Text="Buscar" Width="95px" />
        </td>
    </tr>
</table>
</asp:Content>
